package Pantallas;

import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;

import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import javax.swing.JSeparator;
import javax.swing.JTable;
import javax.swing.JTextField;
import com.swtdesigner.SwingResourceManager;

public class AdminCliente extends JDialog {

	private JButton cancelarButton;
	private JButton consultarButton;
	private JButton eliminarButton;
	private JButton guardarButton;
	private JButton nuevoButton;
	private JSeparator separator_4;
	private JSeparator separator_3;
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * Launch the application
	 * @param args
	 */
	public static void main(String args[]) {
		try {
			AdminCliente dialog = new AdminCliente();
			dialog.addWindowListener(new WindowAdapter() {
				public void windowClosing(WindowEvent e) {
					System.exit(0);
				}
			});
			dialog.setVisible(true);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	/**
	 * Create the dialog
	 */
	public AdminCliente() {
		super();
		setModal(true);
		getContentPane().setFont(new Font("Arial", Font.BOLD, 12));
		getContentPane().setLayout(null);
		setTitle("Administrar Clientes");
		setSize(new Dimension(820, 730));
		setBounds(100, 100, 842, 730);

		final JLabel razonSocialLabel = new JLabel();
		razonSocialLabel.setFont(new Font("Arial", Font.BOLD, 12));
		razonSocialLabel.setText("Razon Social:");
		razonSocialLabel.setBounds(25, 103, 84, 14);
		getContentPane().add(razonSocialLabel);

		final JTextField textField = new JTextField();
		textField.setBounds(110, 101, 128, 19);
		getContentPane().add(textField);

		final JLabel cuitLabel = new JLabel();
		cuitLabel.setFont(new Font("Arial", Font.BOLD, 12));
		cuitLabel.setText("Cuit:");
		cuitLabel.setBounds(275, 103, 67, 14);
		getContentPane().add(cuitLabel);

		final JTextField textField_1 = new JTextField();
		textField_1.setBounds(350, 101, 128, 19);
		getContentPane().add(textField_1);

		final JLabel industriaLabel = new JLabel();
		industriaLabel.setFont(new Font("Arial", Font.BOLD, 12));
		industriaLabel.setText("Industria:");
		industriaLabel.setBounds(526, 103, 67, 14);
		getContentPane().add(industriaLabel);

		final JComboBox comboBox = new JComboBox();
		comboBox.setBounds(599, 101, 128, 19);
		getContentPane().add(comboBox);

		final JSeparator separator = new JSeparator();
		separator.setBounds(10, 133, 814, -1);
		getContentPane().add(separator);

		final JLabel domicilioLabel = new JLabel();
		domicilioLabel.setFont(new Font("", Font.BOLD, 12));
		domicilioLabel.setText("Domicilio");
		domicilioLabel.setBounds(25, 138, 54, 14);
		getContentPane().add(domicilioLabel);

		final JLabel provinciaLabel = new JLabel();
		provinciaLabel.setFont(new Font("Arial", Font.BOLD, 12));
		provinciaLabel.setText("Provincia:");
		provinciaLabel.setBounds(25, 159, 73, 14);
		getContentPane().add(provinciaLabel);

		final JLabel localidadLabel = new JLabel();
		localidadLabel.setFont(new Font("Arial", Font.BOLD, 12));
		localidadLabel.setText("Localidad:");
		localidadLabel.setBounds(25, 192, 73, 14);
		getContentPane().add(localidadLabel);

		final JLabel barrioLabel = new JLabel();
		barrioLabel.setFont(new Font("Arial", Font.BOLD, 12));
		barrioLabel.setText("Barrio:");
		barrioLabel.setBounds(25, 228, 73, 14);
		getContentPane().add(barrioLabel);

		final JComboBox comboBox_1 = new JComboBox();
		comboBox_1.setBounds(110, 159, 128, 19);
		getContentPane().add(comboBox_1);

		final JComboBox comboBox_2 = new JComboBox();
		comboBox_2.setBounds(110, 192, 128, 19);
		getContentPane().add(comboBox_2);

		final JComboBox comboBox_3 = new JComboBox();
		comboBox_3.setBounds(110, 224, 128, 19);
		getContentPane().add(comboBox_3);

		final JLabel calleLabel = new JLabel();
		calleLabel.setFont(new Font("Arial", Font.BOLD, 12));
		calleLabel.setText("Calle:");
		calleLabel.setBounds(275, 159, 73, 14);
		getContentPane().add(calleLabel);

		final JLabel numeroLabel = new JLabel();
		numeroLabel.setFont(new Font("Arial", Font.BOLD, 12));
		numeroLabel.setText("Numero:");
		numeroLabel.setBounds(275, 192, 73, 14);
		getContentPane().add(numeroLabel);

		final JLabel entrecallesLabel = new JLabel();
		entrecallesLabel.setFont(new Font("Arial", Font.BOLD, 12));
		entrecallesLabel.setText("Entrecalles:");
		entrecallesLabel.setBounds(275, 228, 67, 14);
		getContentPane().add(entrecallesLabel);

		final JLabel cpLabel = new JLabel();
		cpLabel.setFont(new Font("Arial", Font.BOLD, 12));
		cpLabel.setText("CP:");
		cpLabel.setBounds(275, 261, 73, 14);
		getContentPane().add(cpLabel);

		final JComboBox comboBox_4 = new JComboBox();
		comboBox_4.setBounds(350, 159, 128, 19);
		getContentPane().add(comboBox_4);

		final JTextField textField_2 = new JTextField();
		textField_2.setBounds(350, 192, 128, 19);
		getContentPane().add(textField_2);

		final JTextField textField_3 = new JTextField();
		textField_3.setBounds(350, 224, 128, 19);
		getContentPane().add(textField_3);

		final JTextField textField_4 = new JTextField();
		textField_4.setBounds(350, 259, 43, 19);
		getContentPane().add(textField_4);

		final JLabel edificioLabel = new JLabel();
		edificioLabel.setFont(new Font("Arial", Font.BOLD, 12));
		edificioLabel.setText("Edificio:");
		edificioLabel.setBounds(526, 159, 67, 14);
		getContentPane().add(edificioLabel);

		final JLabel torreLabel = new JLabel();
		torreLabel.setFont(new Font("Arial", Font.BOLD, 12));
		torreLabel.setText("Torre:");
		torreLabel.setBounds(526, 192, 67, 14);
		getContentPane().add(torreLabel);

		final JLabel dptoLabel = new JLabel();
		dptoLabel.setFont(new Font("Arial", Font.BOLD, 12));
		dptoLabel.setText("Dpto:");
		dptoLabel.setBounds(526, 228, 67, 14);
		getContentPane().add(dptoLabel);

		final JLabel pisoLabel = new JLabel();
		pisoLabel.setFont(new Font("Arial", Font.BOLD, 12));
		pisoLabel.setText("Piso:");
		pisoLabel.setBounds(526, 261, 67, 14);
		getContentPane().add(pisoLabel);

		final JCheckBox checkBox = new JCheckBox();
		checkBox.setBounds(599, 155, 101, 23);
		getContentPane().add(checkBox);

		final JTextField textField_5 = new JTextField();
		textField_5.setBounds(599, 190, 128, 19);
		getContentPane().add(textField_5);

		final JTextField textField_6 = new JTextField();
		textField_6.setBounds(599, 224, 18, 19);
		getContentPane().add(textField_6);

		final JTextField textField_7 = new JTextField();
		textField_7.setBounds(599, 259, 18, 19);
		getContentPane().add(textField_7);

		final JSeparator separator_1 = new JSeparator();
		separator_1.setBounds(10, 309, 814, 20);
		getContentPane().add(separator_1);

		final JLabel contactoLabel = new JLabel();
		contactoLabel.setFont(new Font("", Font.BOLD, 12));
		contactoLabel.setText("Contacto");
		contactoLabel.setBounds(25, 315, 54, 14);
		getContentPane().add(contactoLabel);

		final JLabel responsableLabel = new JLabel();
		responsableLabel.setFont(new Font("Arial", Font.BOLD, 12));
		responsableLabel.setText("Responsable:");
		responsableLabel.setBounds(25, 335, 84, 14);
		getContentPane().add(responsableLabel);

		final JLabel areaLabel = new JLabel();
		areaLabel.setFont(new Font("Arial", Font.BOLD, 12));
		areaLabel.setText("Area:");
		areaLabel.setBounds(25, 371, 73, 14);
		getContentPane().add(areaLabel);

		final JTextField textField_8 = new JTextField();
		textField_8.setBounds(110, 335, 128, 19);
		getContentPane().add(textField_8);

		final JTextField textField_9 = new JTextField();
		textField_9.setBounds(110, 369, 128, 19);
		getContentPane().add(textField_9);

		final JLabel telFijoLabel = new JLabel();
		telFijoLabel.setFont(new Font("Arial", Font.BOLD, 12));
		telFijoLabel.setText("Tel Fijo:");
		telFijoLabel.setBounds(275, 335, 73, 14);
		getContentPane().add(telFijoLabel);

		final JLabel telMovilLabel = new JLabel();
		telMovilLabel.setFont(new Font("Arial", Font.BOLD, 12));
		telMovilLabel.setText("Tel Movil:");
		telMovilLabel.setBounds(275, 371, 73, 14);
		getContentPane().add(telMovilLabel);

		final JTextField textField_10 = new JTextField();
		textField_10.setBounds(350, 335, 101, 19);
		getContentPane().add(textField_10);

		final JTextField textField_11 = new JTextField();
		textField_11.setBounds(350, 369, 101, 19);
		getContentPane().add(textField_11);

		final JLabel faxLabel = new JLabel();
		faxLabel.setFont(new Font("Arial", Font.BOLD, 12));
		faxLabel.setText("Fax:");
		faxLabel.setBounds(526, 337, 67, 14);
		getContentPane().add(faxLabel);

		final JLabel mailLabel = new JLabel();
		mailLabel.setFont(new Font("Arial", Font.BOLD, 12));
		mailLabel.setText("Mail:");
		mailLabel.setBounds(526, 371, 67, 14);
		getContentPane().add(mailLabel);

		final JTextField textField_12 = new JTextField();
		textField_12.setBounds(599, 335, 84, 19);
		getContentPane().add(textField_12);

		final JTextField textField_13 = new JTextField();
		textField_13.setBounds(599, 369, 128, 19);
		getContentPane().add(textField_13);

		final JButton agregarButton = new JButton();
		agregarButton.setIcon(SwingResourceManager.getIcon(AdminCliente.class, "/Iconos/1downarrow-001.png"));
		agregarButton.setBounds(320, 425, 54, 40);
		getContentPane().add(agregarButton);

		final JButton quitarButton = new JButton();
		quitarButton.setIcon(SwingResourceManager.getIcon(AdminCliente.class, "/Iconos/1uparrow-001.png"));
		quitarButton.setBounds(380, 425, 54, 40);
		getContentPane().add(quitarButton);

		final JScrollPane scrollPane = new JScrollPane();
		scrollPane.setBounds(25, 478, 702, 107);
		getContentPane().add(scrollPane);

		final JTable table = new JTable(new Object[][]{{null,null,null,null}},new String[] {"Responsable","Area","Tel Fijo","Tel Movil", "Fax", "Mail"});
		scrollPane.setViewportView(table);

		separator_3 = new JSeparator();
		separator_3.setBounds(10, 85, 814, 14);
		getContentPane().add(separator_3);

		final JLabel administrarDatosClientesLabel = new JLabel();
		administrarDatosClientesLabel.setFont(new Font("Dialog", Font.BOLD | Font.ITALIC, 14));
		administrarDatosClientesLabel.setText("Datos del Cliente");
		administrarDatosClientesLabel.setBounds(10, 52, 207, 32);
		getContentPane().add(administrarDatosClientesLabel);

		separator_4 = new JSeparator();
		separator_4.setBounds(10, 125, 814, 14);
		getContentPane().add(separator_4);

		nuevoButton = new JButton();
		nuevoButton.setIcon(SwingResourceManager.getIcon(AdminCliente.class, "/Iconos/unknown-002.png"));
		nuevoButton.setToolTipText("Agregar Nuevo CV");
		nuevoButton.setBounds(25, 646, 63, 40);
		getContentPane().add(nuevoButton);

		guardarButton = new JButton();
		guardarButton.setIcon(SwingResourceManager.getIcon(AdminCliente.class, "/Iconos/db_add-002.png"));
		guardarButton.setToolTipText("Guardar CV");
		guardarButton.setBounds(193, 646, 63, 40);
		getContentPane().add(guardarButton);

		eliminarButton = new JButton();
		eliminarButton.setIcon(SwingResourceManager.getIcon(AdminCliente.class, "/Iconos/db_remove-002.png"));
		eliminarButton.setToolTipText("Eliminar CV");
		eliminarButton.setBounds(262, 646, 63, 40);
		getContentPane().add(eliminarButton);

		consultarButton = new JButton();
		consultarButton.setIcon(SwingResourceManager.getIcon(AdminCliente.class, "/Iconos/viewmag-002.png"));
		consultarButton.setToolTipText("Consultar CV");
		consultarButton.setBounds(94, 646, 63, 40);
		getContentPane().add(consultarButton);

		cancelarButton = new JButton();
		cancelarButton.setIcon(SwingResourceManager.getIcon(AdminCliente.class, "/Iconos/back-002.png"));
		cancelarButton.setToolTipText("Volver");
		cancelarButton.setBounds(761, 646, 63, 40);
		getContentPane().add(cancelarButton);
		//
	}

}
